<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>留言</title>
    <style>
        .container, form{
            width: 70%;
            margin: auto;
            display: flex;
            flex-direction: column;
        }
        .container label{
            font-size: 20px;
            padding: 10px 0;
        }
        a{
            text-decoration: none;
            color: #baf;
        }
        h2 span{
            font-size: 16px;
            font-weight: initial;
            margin-left: 20px;
        }
        #user_name{
            font-size: 16px;
            padding: 10px;
        }
        #content{
            font-size: 14px;
            padding: 10px;
            resize: none;
        }
        #user_name:focus,#content:focus{
            outline-color: rgb(206, 210, 211);
            box-shadow: 0 0 5px rgb(184, 191, 194);
        }
        button{
            margin-top: 20px;
            height: 30px;
        }
    </style>
</head>
<body>
    <div class="container">
        <h2><a href="/">首页</a><span>评论/留言</span></h2>
        <form action="/post" method="POST">
            <label for="user_name">Name</label>
            <input type="text" id="user_name" name="name" required>
            <label for="content">内容</label>
            <textarea id="content" cols="30" rows="5" name="message" required></textarea>
            <button>发表</button>
        </form>
    </div>  
</body>
</html>